#ifndef __PCA9685_H
#define __PCA9685_H


#include "main.h"
#include "bsp_include.h"
uint8_t PCA9685_SetBit(uint8_t Register, uint8_t Bit, uint8_t Value);
uint8_t PCA9685_RestartMode(uint8_t Enable);
uint8_t PCA9685_SoftwareReset(void);
uint8_t PCA9685_SleepMode(uint8_t Enable);
uint8_t PCA9685_SetPwmFrequency(uint16_t freq);
uint8_t PCA9685_SetPwm(uint8_t Channel, uint16_t OnTime, uint16_t OffTime);
uint8_t PCA9685_AutoIncrement(uint8_t Enable);
void PCA9685_Init(void);
#endif

